def jiecheng(n):
  """
  递归阶乘
  :param n:
  :return:
  """
  if n == 1 or n == 0:
    return 1
  else:
    return jiecheng(n-1) * n


if __name__ == '__main__':
  print(jiecheng(5))
